package com.bdqn.boot.yuanshen.bean;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @author zwt
 * @version 1.0
 * @className Interaction
 * @description 用户互动
 * @date 2025/3/12 08:46
 */
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Interaction {
    private Integer id;
    @JsonProperty("user_id")
    private Integer userId;
    @JsonProperty("video_id")
    private Integer videoId;
    private Integer type; // 1-点赞, 2-评论, 3-关注
    private String content; // 评论内容
    @JsonProperty("created_at")
    private String createdAt;
    private String username; //用户名字
}